package com.spms.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.spms.entity.Practice;
import com.spms.entity.Student;
@Mapper
@Repository
public interface StudentMapper {
	
	public Student Login(String user_name, String user_password);//学生登录
	public int Register(Student student);//学生注册
	public List<Practice> FindAllPractice(String address, String teacher_name);//查询所有实践活动
	public int InsertPractice(int s_id, int p_id,int t_id);//添加实践
	public int DeletePractice(int pd_id);//删除实践
	public List<Practice> FindMyPractice(int s_id);//根据学号查询该学生所有实践
	public int InsertThink(int s_id,int p_id,String think);//学生填写日常
	public Student queryInfo(int s_id);//查看学生的信息
}
